package com.boyi.shared.common;

public enum Message {

    SERVER_EXCEPTION(-1, "服务器处理失败"),

    NO_USER(-101, "用户名或密码不正确"),

    USER_EXIST(-102, "对象已存在"),

    FAILE(-103, "操作失败"),

    NO_OBJECT(-104, "操作对象不存在"),

    SUCCESS(200, "操作成功"),

    CHECK_ERROR(-105, "校验错误");


    public int code;

    public String msg;

    private Message(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
